video: Pause on unset too
authorMatthias Clasen <mclasen@redhat.com>
Sat, 2 Jan 2021 05:06:41 +0000 (00:06 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 2 Jan 2021 06:33:48 +0000 (01:33 -0500)
commit0ba56311004728c19e52831778c982e89a7a7278
tree992626aa7f39538c4752ee2b71926ce6e54ad77e
parentc72589f0ee870995037cd91424efe325aa46027d
video: Pause on unset too

When new media stream is set on the GtkVideo
widget and we're autoplaying, pause the old one.

Otherwise, the music keeps playing unexpectedly.
gtk/gtkvideo.c